<video id="video" width="640" height="480" autoplay></video>
<button id="snapshot" (click)="snapshot()">snapshot</button>
<canvas id="canvas" width="640" height="480"></canvas>